package edu.bit.water.dao;

import edu.bit.water.entity.*;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface WasteWaterDao {

    List<WasteWaterTable1> table1Select(int lastId);
    List<WasteWaterTable2> table2Select(int lastId);

    List<MetaBaseline> getMetaData(String stdNumber);
    List<WasteWaterTable2> getTable2Data(String lastId);
    List<WasteWaterTable1> getTable1Data(String lastId);
    void table1Insert(WasteWaterTable1 wasteWaterTable1);
    void table2Insert(WasteWaterTable2 wasteWaterTable2);

    void delete(Integer id);

    void table1update(WasteWaterTable1 wasteWaterTable1);
    void table2update(WasteWaterTable2 wasteWaterTable2);

    int labelUpdate(WasteWaterEva wasteWaterEva);



}
